package org.keyuan.service.impl;

import java.util.List;

import org.keyuan.dao.BookMsgFalshDao;
import org.keyuan.entity.BookMsgFalsh;
import org.keyuan.entity.BookType;
import org.keyuan.entity.util.ImgShowLocal;
import org.keyuan.service.BookMsgFalshService;

public class BookMsgFalshServiceImpl extends ServiceSupport<BookMsgFalsh> implements BookMsgFalshService{
	private BookMsgFalshDao bookMsgFalshDao;

	public void setBookMsgFalshDao(BookMsgFalshDao bookMsgFalshDao) {
		this.bookMsgFalshDao = bookMsgFalshDao;
		this.dao=this.bookMsgFalshDao;
	}

	@Override
	public List<BookMsgFalsh> getAdvertis(ImgShowLocal imgShowLocal,
			BookType bookType,Integer maxResults) {
		return bookMsgFalshDao.getAdvertis(imgShowLocal, bookType,maxResults);
	}

	@Override
	public List<BookMsgFalsh> getBookMsgs(BookType bookType,Integer maxResults) {
		return bookMsgFalshDao.getBookMsgs(bookType,maxResults);
	}
}
